package com.jiaai.family.api;

import com.jiaai.family.model.TFamilyVO;
import com.jiaai.family.model.TFamilyimgVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * TODO
 * </p>
 *
 * @author 佳爱网络科技
 * @version V1.0
 * @title TFamilyApi
 * @since 2017/10/19
 */
public interface TFamilyImgApi {
    /**
     *返回所有的家族相册(传家族编号查单个)
     * @param curr
     * @param tFamilyimgVO
     * @return
     */
    Object findByAll(Integer curr, TFamilyimgVO tFamilyimgVO) throws Exception;
    /**
     *添加单个家族相册
     * @param tFamilyimgVO
     * @return
     */
    Object addImg(TFamilyimgVO tFamilyimgVO) throws Exception;

    /**
     *查询单个家族相册
     * @param id
     * @return
     */
    Object findById(Integer id) throws Exception;
    /**
     *删除单个家族相册
     * @param id
     * @return
     */
    Object delete(Integer id) throws Exception;


}
